-------------------------------------------------------------------------------
--Guard
mobs:register_mob(
	"mobs_dungeon:guard", 
	{
		type="monster",
		passive=false,
		attack_type="dogfight",
		pathfinding=true,
		reach=2,
		damage=3,
		hp_min=15,
		hp_max=30,
		armor=80,
		collisionbox={-0.5, -0.5, -0.5, 0.5, 1.2, 0.5},
		visual="mesh",
		mesh="zmobs_lava_flan.x",
		textures={
			{"mobs_dungeon_guard.png"},
			{"mobs_dungeon_guard1.png"},
			{"mobs_dungeon_guard2.png"},
			{"mobs_dungeon_guard3.png"},
			{"mobs_dungeon_guarda.png"},
			{"mobs_dungeon_guarda1.png"},
			{"mobs_dungeon_guarda2.png"},
			{"mobs_dungeon_guarda3.png"},
			{"mobs_dungeon_guardb.png"},
			{"mobs_dungeon_guardb1.png"},
			{"mobs_dungeon_guardb3.png"},
		},
		makes_footstep_sound=true,
		sounds={
			random="mobs_dungeon_guard_random",
			attack="mobs_dungeon_guard_attack",
			death="mobs_dungeon_guard_death",
		},
		walk_velocity=1,
		run_velocity=2,
		jump=true,
		jump_height=1,
		view_range=10,
		drops={},
		water_damage=0,
		lava_damage=1,
		light_damage=0,
		animation={
			speed_normal=15,
			speed_run=15,
			stand_start=0,
			stand_end=8,
			walk_start=10,
			walk_end=18,
			run_start=20,
			run_end=28,
			punch_start=20,
			punch_end=28,
		},
		stay_near={
			"dungeon:barrel"
		}
	}
)

mobs:register_egg(
	"mobs_dungeon:guard", "Guard", 
	"mobs_dungeon_guard.png", 1
)

